package com.wang.study.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 角色菜单表
 * </p>
 *
 * @author mark
 * @since 2020-06-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "TbRoleToMenu对象", description = "角色菜单表")
public class TbRoleToMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "role_to_menu_id", type = IdType.AUTO)
    private Integer roleToMenuId;

    @ApiModelProperty(value = "角色代号")
    private String roleCode;

    @ApiModelProperty(value = "菜单代号,规范权限标识")
    private String menuCode;


}
